 |
|
 |
Subject: Toolbar setup does not work with 8.5.1 |
 |
 |
 |
Product Area: Notes Client |
 |
Technical Area: Customization |
 |
Platform: Windows XP client |
 |
Release: 8.5.1 |
 |
Reproducible: Always |
 |
 |
 |
 |
Hi, we add our own icon to the Notes client toolbar with a mechanism published by André Guirard in "The View" some years ago, via importing design elements dxl documents, signing agents and so on; we use bookmarks.nsf as a container for our temporary stuff.
Well, unfortunately this mechanism seems to be broken with the Notes Client 8.5.1 - maybe one of the fixes went wrong ?
Here is my "Toolbar setup" code - at least the beginning :
...std::string ServerName;
std::string DatabaseName = "bookmark.nsf";
// Importing the new Dxl Design Elements into the Corresponding Database
STATUS Status = NOERROR;
DebugHandler->Dbg( "I", "importing design element: " + pToolbarIconDxlFileName );
Status = ImportDXLDesignElement( ServerName, DatabaseName, pToolbarIconDxlFileName ); if ( Status != NOERROR ) { return Status; }
DebugHandler->Dbg( "I", "importing design element: " + pToolbarOutlineDxlFileName );
Status = ImportDXLDesignElement( ServerName, DatabaseName, pToolbarOutlineDxlFileName ); if ( Status != NOERROR ) { return Status; }
DebugHandler->Dbg( "I", "importing design element: " + pToolbarTempCopyAgentDxlFileName );
Status = ImportDXLDesignElement( ServerName, DatabaseName, pToolbarTempCopyAgentDxlFileName ); if ( Status != NOERROR ) { return Status; }
// Running the Temporary Lotus Script Copy Agent and Deleting it
DebugHandler->Dbg( "I", "running agent" );
//Status = RunLotusScriptAgent( ServerName, DatabaseName, pToolbarTempCopyAgentName, true ); if ( Status != NOERROR ) { return Status; }
Status = RunLotusScriptAgent( ServerName, DatabaseName, pToolbarTempCopyAgentName, false );
...
RunLotusScriptAgent :
...
Status = OpenDatabase( pServerName, pDatabaseName, DatabaseHandle ); if ( Status != NOERROR ) { return Status; }
// Signing the Lotus Script Agent
DebugHandler->Dbg( "D", "signing the Lotus Script Agent" );
DebugHandler->Dbg( "D", pDatabaseName ); //bookmark.nsf
NOTEID AgentNoteId;
NOTEHANDLE AgentNoteHandle;
HAGENT AgentHandle;
HAGENTCTX AgentContext;
char AgentName[MAXPATH] = {0};
strcat_s( AgentName, sizeof ( AgentName ), pAgentName.c_str() );
DebugHandler->Dbg( "D", AgentName ); //dialtoolbarupdateagent
Status = NIFFindDesignNote ( DatabaseHandle, AgentName, NOTE_CLASS_FILTER, &AgentNoteId );
if ( Status != NOERROR ) { Status = NIFFindPrivateDesignNote ( DatabaseHandle, AgentName, NOTE_CLASS_FILTER, &AgentNoteId ); }
And here I get the message :
"Entry not found in index" which IMHO means, the agent is not there.
But really, it used to, in all other client versions :-(.
 
Feedback number WEBB7Y3G92 created by ~Evelyn Rehipivitch on 11/23/2009

Status: Open
Comments:

Toolbar setup does not work with 8.... (~Evelyn Rehipiv... 23.Nov.09)
. . I will ask my boss for new hardware... (~Evelyn Rehipiv... 24.Nov.09)
. . The message probably does mean the ... (~Bill Frokimari... 25.Nov.09)
. . . . Toolbar setup does not work with 8.... (~Evelyn Rehipiv... 26.Nov.09)
. . . . urg (~Evelyn Rehipiv... 27.Nov.09)
. . . . . . 1028 (~Evelyn Rehipiv... 30.Nov.09)
. . . . . . . . well, wel (~Evelyn Rehipiv... 1.Dec.09)
. . . . . . . . . . . (~Evelyn Rehipiv... 17.Dec.09)
. . . . . . . . . . . . No problem with basic client (~Evelyn Rehipiv... 29.Jan.10)
. . . . . . . . . . . . . . Agent Not Found from 8.5.1 custom t... (~Umberto Kitook... 26.Jul.10) |
|  |
|